package com.ruoyi.sau.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.sau.domain.WorkWeek;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 我的顶岗实习
 */
public interface MyWorkService {

    /**
     * 根据学生ID获取作业信息
     *
     * @param stuId
     * @return
     */
    List<Map<String, Object>> selectWeekBystuId(long stuId, long worklyId, long workId, String worklyCategory);

    /**
     * 根据作业ID获取作业信息
     *
     * @param worklyId
     * @return
     */
    WorkWeek selectWeekById(long worklyId);

    /**
     * 更新作业信息
     *
     * @param map
     * @return
     */
    AjaxResult updateWeekly(HashMap<String, Object> map);

}
